#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    //this->setStyleSheet(".QWidget{color:red}");
//    QString style="#label{color:green;}";
//    style+="#label_2{color:blue;}";
//    style+="#pushButton{background-color:black;color:white;}";
//    style+="#pushButton_2{background-color:red;}";
//    this->setStyleSheet(style);
    this->setStyleSheet("QLabel,QPushButton{color:purple;}");
}

Widget::~Widget()
{
    delete ui;
}

